package org.flyframework.command
{
	import flash.events.Event;
	
	
	public interface IHistory
	{
		
		function execute( cmd:ICommand, event:Event=null ):void;
		
		function undo( event:Event=null ):void;
		function canUndo():Boolean;
		
		function redo( event:Event=null ):void;
		function canRedo():Boolean;
		
		function clear():void;
		
	}
}